package com.kakarote.ids.provider.common;

import java.util.Map;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "wukong.ids.auth")
public class OAuthProperties {
    private String clientId;

    private String clientSecret;

    private String redirectUri;

    private Map<String, Object> extra;

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public void setClientSecret(String clientSecret) {
        this.clientSecret = clientSecret;
    }

    public void setRedirectUri(String redirectUri) {
        this.redirectUri = redirectUri;
    }

    public void setExtra(Map<String, Object> extra) {
        this.extra = extra;
    }

    public String toString() {
        return "OAuthProperties(clientId=" + getClientId() + ", clientSecret=" + getClientSecret() + ", redirectUri=" + getRedirectUri() + ", extra=" + getExtra() + ")";
    }

    public String getClientId() {
        return this.clientId;
    }

    public String getClientSecret() {
        return this.clientSecret;
    }

    public String getRedirectUri() {
        return this.redirectUri;
    }

    public Map<String, Object> getExtra() {
        return this.extra;
    }
}
